//
//  commonModel.m
//  PhotoCircle
//
//  Created by wujungao on 12/13/15.
//  Copyright © 2015 wujungao. All rights reserved.
//

#import "commonModel.h"

@implementation commonModel

#pragma mark - designated initializer
-(instancetype)initCommModelWithDict:(NSDictionary *)commDict{
    
    self=[super init];
    
    if(self){
        
        [self configCommonModelWithDict:commDict];
    }
    
    return self;
}

#pragma mark - config method
-(void)configCommonModelWithDict:(NSDictionary *)commDict{
    
    self.UUID=commDict[@"uuid"];
    self.imageURLString=commDict[@"image"];
}

@end
